<?php
/*
	[Ualink!] (C)2007 .
	$RCSfile: message.php,v $
	$Since: 2.0 $
	$Date: 2007/09/24 17:50:15 $
*/
$inc_path = null;
require($inc_path."global.php");
if (!empty($_GET['message'])) {
	$action_alert = urldecode($_GET['message']);
}else{
	$action_alert = ($_GET['r'] == 1)?lgg('action_success'):lgg('action_false');
}
if(isset($_GET['c'])){
	if($_GET['c']=="n"){
		setvar("closeBtn", false);
	}else{
		setvar("closeBtn", true);
	}
}
if($_GET['b']=="n"){
	setvar("backBtn", false);
}else{
	setvar("backBtn", true);
}
setvar("AlertTitle", $alert_title=($_GET['result']=="success")?lgg('congratulate'):lgg('sth_wrong'));
setvar("ActionAlert",$action_alert);
template($theme_name."/message");
?>